[INFO] cloning repository https://github.com/ChainThemAll/err_code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChainThemAll/err_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChainThemAll%2Ferr_code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChainThemAll%2Ferr_code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 44f2efb1b62710f145462181ba8d8c8fbee35e75
[INFO] testing ChainThemAll/err_code against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChainThemAll%2Ferr_code" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ChainThemAll/err_code
[INFO] finished tweaking git repo https://github.com/ChainThemAll/err_code
[INFO] tweaked toml for git repo https://github.com/ChainThemAll/err_code written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ChainThemAll/err_code on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ChainThemAll/err_code already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cc5e425849b554efac73c39c3584e9c74f54c516b2cd78806d7fdc23c7ad5e49
[INFO] running `Command { std: "docker" "start" "-a" "cc5e425849b554efac73c39c3584e9c74f54c516b2cd78806d7fdc23c7ad5e49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cc5e425849b554efac73c39c3584e9c74f54c516b2cd78806d7fdc23c7ad5e49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc5e425849b554efac73c39c3584e9c74f54c516b2cd78806d7fdc23c7ad5e49", kill_on_drop: false }`
[INFO] [stdout] cc5e425849b554efac73c39c3584e9c74f54c516b2cd78806d7fdc23c7ad5e49
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4bcc09b21e713f6e3ebf21703e42517d094540c2a0a7f31292448a27e1d843fa
[INFO] running `Command { std: "docker" "start" "-a" "4bcc09b21e713f6e3ebf21703e42517d094540c2a0a7f31292448a27e1d843fa", kill_on_drop: false }`
[INFO] [stderr]    Compiling err_code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.09s
[INFO] running `Command { std: "docker" "inspect" "4bcc09b21e713f6e3ebf21703e42517d094540c2a0a7f31292448a27e1d843fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bcc09b21e713f6e3ebf21703e42517d094540c2a0a7f31292448a27e1d843fa", kill_on_drop: false }`
[INFO] [stdout] 4bcc09b21e713f6e3ebf21703e42517d094540c2a0a7f31292448a27e1d843fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e27031675be6675454ee1ad0951c75e748c08ddda3ef1f807f5a8d30d5675932
[INFO] running `Command { std: "docker" "start" "-a" "e27031675be6675454ee1ad0951c75e748c08ddda3ef1f807f5a8d30d5675932", kill_on_drop: false }`
[INFO] [stderr]    Compiling err_code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] running `Command { std: "docker" "inspect" "e27031675be6675454ee1ad0951c75e748c08ddda3ef1f807f5a8d30d5675932", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e27031675be6675454ee1ad0951c75e748c08ddda3ef1f807f5a8d30d5675932", kill_on_drop: false }`
[INFO] [stdout] e27031675be6675454ee1ad0951c75e748c08ddda3ef1f807f5a8d30d5675932
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5a6454be523ee9868ffd6bc04c23aa2da2521fca33a616eb28394450671641f0
[INFO] running `Command { std: "docker" "start" "-a" "5a6454be523ee9868ffd6bc04c23aa2da2521fca33a616eb28394450671641f0", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/err_code-518465a7e4d74a87)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests err_code
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/lib.rs - derive_error_code (line 210) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 45) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 109) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 137) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 90) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 71) ... ok
[INFO] [stdout] test src/lib.rs - (line 27) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - derive_error_code (line 210) stdout ----
[INFO] [stdout] error: cannot find derive macro `ErrorCode` in this scope
[INFO] [stdout]    --> src/lib.rs:211:10
[INFO] [stdout]     |
[INFO] [stdout] 211 | #[derive(ErrorCode)]
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 210 + use err_code::ErrorCode;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error_code` in this scope
[INFO] [stdout]    --> src/lib.rs:212:3
[INFO] [stdout]     |
[INFO] [stdout] 212 | #[error_code(type = "u16", default = 300)]
[INFO] [stdout]     |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error_code` in this scope
[INFO] [stdout]    --> src/lib.rs:214:7
[INFO] [stdout]     |
[INFO] [stdout] 214 |     #[error_code(100)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error_code` in this scope
[INFO] [stdout]    --> src/lib.rs:216:7
[INFO] [stdout]     |
[INFO] [stdout] 216 |     #[error_code(200)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 45) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `MyError` in this scope
[INFO] [stdout]   --> src/lib.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 | let error = MyError::InvalidInput;
[INFO] [stdout]    |             ^^^^^^^ use of undeclared type `MyError`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 109) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]    --> src/lib.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 112 | use thiserror::Error;
[INFO] [stdout]     |     ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/lib.rs:118:7
[INFO] [stdout]     |
[INFO] [stdout] 118 |     #[error("Invalid input: {0}")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/lib.rs:122:7
[INFO] [stdout]     |
[INFO] [stdout] 122 |     #[error("Resource not found: {name}")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/lib.rs:126:7
[INFO] [stdout]     |
[INFO] [stdout] 126 |     #[error(transparent)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]    --> src/lib.rs:127:15
[INFO] [stdout]     |
[INFO] [stdout] 127 |     IoError(#[from] IoError), // Uses default error code
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 137) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `MyError` in this scope
[INFO] [stdout]    --> src/lib.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 | let error = MyError::InvalidInput("test".to_string());
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `MyError`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IoError` in this scope
[INFO] [stdout]    --> src/lib.rs:142:16
[INFO] [stdout]     |
[INFO] [stdout] 142 | let io_error = IoError::new(std::io::ErrorKind::Other, "io failure");
[INFO] [stdout]     |                ^^^^^^^ use of undeclared type `IoError`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MyError` in this scope
[INFO] [stdout]    --> src/lib.rs:143:13
[INFO] [stdout]     |
[INFO] [stdout] 143 | let error = MyError::IoError(io_error);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `MyError`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 90) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `MyError` in this scope
[INFO] [stdout]   --> src/lib.rs:91:14
[INFO] [stdout]    |
[INFO] [stdout] 91 | let error1 = MyError::InvalidInput;
[INFO] [stdout]    |              ^^^^^^^ use of undeclared type `MyError`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MyError` in this scope
[INFO] [stdout]   --> src/lib.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 | let error2 = MyError::NotFound;
[INFO] [stdout]    |              ^^^^^^^ use of undeclared type `MyError`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 109)
[INFO] [stdout]     src/lib.rs - (line 137)
[INFO] [stdout]     src/lib.rs - (line 45)
[INFO] [stdout]     src/lib.rs - (line 90)
[INFO] [stdout]     src/lib.rs - derive_error_code (line 210)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5a6454be523ee9868ffd6bc04c23aa2da2521fca33a616eb28394450671641f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a6454be523ee9868ffd6bc04c23aa2da2521fca33a616eb28394450671641f0", kill_on_drop: false }`
[INFO] [stdout] 5a6454be523ee9868ffd6bc04c23aa2da2521fca33a616eb28394450671641f0
